package com.atguigu.gulimall.test_todolist.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author leifengyang
 * @email leifengyang@gmail.com
 * @date 2020-10-03 09:39:24
 */
@Data
@TableName("item")
public class ItemEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 内容
	 */
	private String content;
	/**
	 * 状态，0：未完成，1：完成
	 */
	private Integer status;
	/**
	 * 创建时间
	 */
	private Long createTime;
	/**
	 * 完成时间
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private Long finishTime;

}
